﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ZR.Model
{
    public class TreeNodeInfo
    {
        /// <summary>
        /// 结点标识
        /// </summary>
        public string Id { get; set; }

        /// <summary>
        /// 上级标识
        /// </summary>
        public string PaId { get; set; }

        /// <summary>
        /// 结点标签
        /// </summary>
        public string Label { get; set; }

        /// <summary>
        /// 结点编码
        /// </summary>
        public string Code { get; set; }

        /// <summary>
        /// 结点类型
        /// </summary>
        public string Type { get; set; }

        /// <summary>
        /// 是否禁用
        /// </summary>
        public bool IsDisabled { get; set; } = false;

        /// <summary>
        /// 是否默认结点类型
        /// </summary>
        public bool IsDefaultNodeType { get; set; } = true;

        /// <summary>
        /// 子结点集合
        /// </summary>
        public List<TreeNodeInfo> Children { get; set; } 
    }
}
